package com.jinbm.accountservice.entity.po;

import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import io.swagger.v3.oas.annotations.media.Schema;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;

/**
 * 角色与部门对应关系 实体类。
 *
 * @author jinbm
 * @data 2024/4/8
 * @time 9:47
 * @since JDK1.8
 * @version 0.0.1-SNAPSHOT
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "角色与部门对应关系")
@Table(value = "sys_role_dept")
public class RoleDeptPo {

    @Schema(description = "")
    @Id(keyType = KeyType.Auto)
    private Long id;

    /**
     * 角色ID
     */
    @Schema(description = "角色ID")
    @Column(value = "role_id")
    private Long roleId;

    /**
     * 部门ID
     */
    @Schema(description = "部门ID")
    @Column(value = "dept_id")
    private Long deptId;


}
